//
// Created by hjie on 23-6-24.
//

#pragma once

#include "./../connection_data.h"
#include "./../connection_data_room.h"
#include "../protocol/protocol_define.h"

class ResponseVector
{
public:
    ResponseVector();
    void PushBack(BaseProtocol * protocol);
public:
    std::vector<std::shared_ptr<BaseProtocol>> m_vec;
};

class RoomReferenceData
{
public:
    ConnectionData     * m_connection_data;
    std::shared_ptr<ConnectionDataRoom> m_room;
public:
    rapidjson::Document m_extra_message;
    ResponseVector m_response_vec;
};